package com.mt.repair.entity.repairManagement;

import javax.persistence.*;
import java.io.Serializable;
import com.mt.common.core.annotation.DColumn;
import com.mt.common.core.annotation.DEntity;
import com.mt.common.core.web.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;




@DEntity(label="意见反馈",comment="",moduleLabel="报修管理")
@Entity(name="repair_feedback")
@Table(name = "repair_feedback" , indexes = { @Index(name = "index_feed_back_type", columnList = "feed_back_type")  })
@ApiModel(description = "维修评价:")
public class Feedback extends BaseEntity implements Serializable{
	private static final long serialVersionUID = 1L;

	@DColumn(index=3,label="反馈类型",codeTable="反馈类型",codeTableOptions="功能异常,体验问题,功能建议,其他问题",comment="反馈类型",component="字典下拉单选",where=true)
	@ApiModelProperty(value = "反馈类型:反馈类型")
	@Column(name="feed_back_type",length=255,nullable=false,unique=false)
	private String feedBackType;

	@DColumn(index=4,label="内容",comment="用户",component="文本",where=true)
	@ApiModelProperty(value = "内容:用户")
	@Column(name="content",length=255,nullable=false,unique=false)
	private String content;

	@DColumn(index=5,label="联系人",comment="联系人",component="文本",where=true)
	@ApiModelProperty(value = "联系人:联系人")
	@Column(name="contacts",length=255,nullable=false,unique=false)
	private String contacts;

	@DColumn(index=6,label="联系方式",comment="联系方式",component="文本",where=true)
	@ApiModelProperty(value = "联系方式:联系方式")
	@Column(name="contact_method",length=255,nullable=false,unique=false)
	private String contactMethod;


	public String getFeedBackType() {
		return this.feedBackType;
	}

	public void setFeedBackType(String feedBackType) {
		this.feedBackType = feedBackType;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getContacts() {
		return this.contacts;
	}

	public void setContacts(String contacts) {
		this.contacts = contacts;
	}

	public String getContactMethod() {
		return this.contactMethod;
	}

	public void setContactMethod(String contactMethod) {
		this.contactMethod = contactMethod;
	}



}
